Draft
Accessibility: focus trapping, ARIA live regions, keyboard nav, and non-color state indicators#36
Conversation
7 tasks
Agent-Logs-Url: https://github.com/OpenCalendarApp/OpenCalendar/sessions/dd4cadc4-405a-4005-b29f-579e9a7e90b8 Co-authored-by: WFord26 <117926366+WFord26@users.noreply.github.com>
… keyboard navigation, state indicators Agent-Logs-Url: https://github.com/OpenCalendarApp/OpenCalendar/sessions/dd4cadc4-405a-4005-b29f-579e9a7e90b8 Co-authored-by: WFord26 <117926366+WFord26@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenCalendarApp/OpenCalendar/sessions/dd4cadc4-405a-4005-b29f-579e9a7e90b8 Co-authored-by: WFord26 <117926366+WFord26@users.noreply.github.com>
…ty improvements Agent-Logs-Url: https://github.com/OpenCalendarApp/OpenCalendar/sessions/dd4cadc4-405a-4005-b29f-579e9a7e90b8 Co-authored-by: WFord26 <117926366+WFord26@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenCalendarApp/OpenCalendar/sessions/dd4cadc4-405a-4005-b29f-579e9a7e90b8 Co-authored-by: WFord26 <117926366+WFord26@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix accessibility issues in calendar state indicators
Accessibility: focus trapping, ARIA live regions, keyboard nav, and non-color state indicators
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses ~8% color-blind users and all keyboard/screen-reader users who couldn't navigate the booking flow or receive screen reader announcements for status changes.
Focus Management
New
useFocusTraphook (utils/useFocusTrap.ts) — applied to all modals:All modals (
ConfirmDialog,CreateProjectModal,AddTimeBlockModal,AvailabilitySolverModal) also close on Escape and usearia-labelledbypointing to their visible heading.Toast Screen Reader Announcements
Split single
aria-live="polite"container into two regions:role="alert"+aria-atomic="true"(assertive, interrupts immediately)aria-live="polite"(non-interrupting)Close buttons get
aria-label="Dismiss notification"; decorative icons getaria-hidden="true".Booking Slot Accessibility (
PublicBookingPage)role="radiogroup"+ descriptivearia-label"Time slot: [date/time], [N] remaining, Engineers: [names]""Full — join waitlist"role="alert"Calendar Date Picker (
AddTimeBlockModal)role="group"(was incorrectlyrole="grid")aria-label(full date, "Today", "Outside current month"),aria-pressedfor selection stateFocus Ring & Visual State CSS
:focus-visible— 3px solid accent outline on all interactive elements; form inputs additionally changeborder-color; anchors getborder-radius::afterpseudo-element + bold font + thicker border (grayscale-safe)opacity: 0.55